import java.util.Random;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2022-04-11
 * Time: 11:44
 */
public class TestDemo3 {
    public static void main(String[] args) {
        int n=20;
        int m=50;
        for (int i = 0; i < 4; i++) {
            int j=n+(new Random()).nextInt(m-n+1);
            System.out.println(j);
        }
    }
}
